<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!--Header navigation-->
<link href="${ctx}/static/css/nav/bootstrap-submenu.css"
	rel="stylesheet">
<link href="${ctx}/static/css/nav/nav.css" rel="stylesheet">


<div
	data-options="region:'north',border:false,split:true,hideCollapsedContent:false,
            collapsedContent:show(),expandMode:null,hideExpandTool:true"
	class="north-box" id="navDiv1">
	<!--navdiv-->
	<!--header nav start-->
	<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"
		id="nav1">

		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse"
				data-target="#bs-example-navbar-collapse-1">
				<span class="sr-only">Toggle navigation</span><span class="icon-bar"></span>
				<span class="icon-bar"></span><span class="icon-bar"></span>
			</button>

			<a class="navbar-brand" href="#"> <i
				class="glyphicon glyphicon-apple"></i> 后台管理系统
			</a>
		</div>

		<div class="collapse navbar-collapse"
			id="bs-example-navbar-collapse-1">
			<!--navbar left start-->
			<ul class="nav navbar-nav">


				<li class="dropdown"><a href="#" class="dropdown-toggle"
					data-toggle="dropdown"> <i
						class="glyphicon glyphicon-education"></i> 老师菜单
				</a>
					<ul class="dropdown-menu">
						<li><a href="javascript:;"
							onclick="addTab1('我的发布','${ctx}/study/homework/page/findByTeacher','icon-more')">
								<i class="glyphicon glyphicon-book" style="margin-right: 10px;"></i>我的发布
						</a>
						<%-- </li>
							<li><a href="javascript:;"
							onclick="addTab1('查看作业','${ctx}/study/homework/page/checklist?publishStatus=1','icon-more')">
								<i class="glyphicon glyphicon-book" style="margin-right: 10px;"></i>查看作业
						</a></li> --%>
					</ul></li>

				<li class="dropdown"><a href="#" class="dropdown-toggle"
					data-toggle="dropdown"> <i
						class="glyphicon glyphicon-education"></i> 学生菜单
				</a>
					<ul class="dropdown-menu">
						<li><a href="javascript:;"
							onclick="addTab1('作业列表','${ctx}/study/homework/page/list?publishStatus=1','icon-more')">
								<i class="glyphicon glyphicon-book" style="margin-right: 10px;"></i>作业列表
						</a></li>
					</ul></li>
			</ul>
			<!--navbar right start-->
			<ul class="nav navbar-nav navbar-right">

				<li class="dropdown"><a href="#" class="dropdown-toggle"
					data-toggle="dropdown"> <i class="glyphicon glyphicon-user"></i>
						${username}<strong class="caret"></strong>
				</a>
					<ul class="dropdown-menu">

						<li><a href="${ctx}/login/logout"> <i
								class="glyphicon glyphicon-off"></i> 退出
						</a></li>
					</ul></li>


				<li><a href="#" class="dropdown-toggle" data-toggle="dropdown"
					onclick="closeNav()"> <i
						class="glyphicon glyphicon-resize-small"></i> &nbsp; &nbsp;
				</a></li>
			</ul>
		</div>
	</nav>
</div>

<!--Header navigation js-->
<script type="text/javascript"
	src="${ctx}/static/js/header/bootstrap-submenu.js"></script>
<script type="text/javascript" src="${ctx}/static/js/header/nav.js"></script>
